# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
pkgname=py3-asyauth
_pyname=asyauth
pkgver=0.0.20
pkgrel=1
pkgdesc="Unified authentication library"
url="https://github.com/skelsec/asyauth"
arch="noarch"
license="MIT"
depends="
	py3-asn1crypto
	py3-asysocks
	py3-minikerberos
	py3-unicrypto
	"
makedepends="
	py3-gpep517
	py3-wheel
	py3-setuptools
	"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/skelsec/asyauth/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # no tests provided

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" .dist/*.whl
}

sha512sums="
1d34ea4114f7df70f3b180ab5effc00db9d48ef8450173fc7ea8b0e7129f7e1b95569b1db8e3c5fd196acf3db0046a6dbf75c0480ac3ff9bbeb9f4770994d432  py3-asyauth-0.0.20.tar.gz
"
